package com.gedidianli.springbootcommonsmapper.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @Author: renpu
 * @Date: 2019/8/28 0:25
 * @Description:
 */

@Data
@Table(name = "w_record")
@AllArgsConstructor
@NoArgsConstructor
public class People {

    @Id
    private Integer wId;
    private String wName;
    private Double wSalary;
    private String wAddress;
    private String wProduct;
    private Integer wAge;

    @Transient
    private String bbb;
}
